package com.qdu.service;

import com.qdu.entity.Complete;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ellery2018
 * @since 2022-03-09
 */
public interface ICompleteService extends IService<Complete> {
    public void onlinesign(Integer routeid , Integer userid );

    public void startsign(Integer userid ,Integer routeid);

    public boolean endsign(Integer userid ,Integer routeid);

    public void deletecomplete(Integer completeid);

    public void refresh(Integer userid);

    public double getDistance(double lng1, double lat1, double lng2, double lat2);

    public double rad(double d);

    public boolean photosign(Integer userid, Integer routeid);

    public String findphotosign(Integer userid, Integer routeid);

    public  Integer findstate(Integer userid , Integer routeid);

    public List<Complete> findListByUId(Integer userid);
}
